package com.xgry.bpm;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableAutoConfiguration
@EnableSwagger2
@MapperScans({@MapperScan("com.xgry.bpm.api.*.*.mapper"),@MapperScan("com.xgry.bpm.api.*.*.dao")})
public class BpmStartApplication {

    public static void main(String[] args) {
        SpringApplication.run(BpmStartApplication.class,args);
    }

}
